package com.woniuxy.car.commodity.service.core.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.woniuxy.car.commodity.service.core.entity.CommodityPics;
import com.woniuxy.car.commodity.service.core.mapper.CommodityPicsMapper;
import com.woniuxy.car.commodity.service.core.service.ICommodityPicsService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 商品轮播图 服务实现类
 * </p>
 *
 * @author awz
 * @since 2022-03-01
 */
@Service
public class CommodityPicsServiceImpl extends ServiceImpl<CommodityPicsMapper, CommodityPics> implements ICommodityPicsService {

    @Override
    public List<CommodityPics> findPicsById(Integer commodityId) {
        return baseMapper.selectListById(commodityId);
    }

    @Override
    public void deletePic(CommodityPics commodityPics) {
        QueryWrapper<Object> wrapper = new QueryWrapper<>();

    }
}
